package ${package}.service;

import ${package}.entity.${entityName};
import ${package}.dto.${entityName}QueryDTO;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface ${entityName}Service {

    IPage<${entityName}> page(${entityName}QueryDTO queryDTO);

    ${entityName} getById(Long id);

    void saveEntity(${entityName} entity);

    void updateEntity(${entityName} entity);

    void deleteEntity(Long id);
}